/****************************************************************************
 *Author: Achilles Zhang												   *
 *Date: 2012.12.28														   *
 *File Name: ShadowCasterDialog.h												   *
 *Description: The file is used to realize the GUI of Shadow Caster Control Panel.	   *
 ***************************************************************************/
#ifndef SHADOWCASTERDIALOG_H
#define SHADOWCASTERDIALOG_H

#include <QWidget>
#include "ui_ShadowCasterDialog.h"

//if you have changed this file, you may use the command
//D:\Qt\4.5.2\bin\moc.exe "$(InputPath)" "-o$(InputDir)\$(InputName)_moc.cpp"
//to rebuild the moc file.

class ShadowCasterDialog : public QWidget
{
	Q_OBJECT

public:
	ShadowCasterDialog(QWidget *parent = 0);
	virtual ~ShadowCasterDialog();

public Q_SLOTS:
	void setSlider(QTime time);
	void sliderValueChanged(int);
	void cancelPushed();
	void commitPushed();
	void stretchPushed();
	void contractPushed();
	void toolButtonPushed();
	void setLightRadius(int);
	void setMinLightDistance(int);
	void setMaxLightDistance(int);
	void setShadowRadius(int);
	void setSoftShadow(bool);
	void setShadowRendering(bool);

Q_SIGNALS:
	void sliderMoved(QTime time);

private:
	Ui::shadowCasterDialog ui;
};

#endif //SHADOWCASTERDIALOG_H